﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuaHan.WorkTicket.Domain
{
    [Table("tblGroupRole")]
    public partial class GroupRole : BaseEntity
    {
        [Key]
        public System.Guid GroupRoleID { get; set; }

        [Required]
        [MaxLength(20)]
        public string Role { get; set; }

        public System.Guid MenuID { get; set; }
        public System.Guid GroupID { get; set; }

        public virtual Menu Menu { get; set; }
        public virtual Group Group { get; set; }
    }
}
